home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / Coldfusion / coldfusion-60-win-en.exe / refresh.cfm < prev    next >
Encoding:
Text File  |  1999-10-22  |  1.1 KB  |  27 lines

  1. ccomplish all three commPOND fostrinsms oura single ColdFusion page.
  2. </p>
  3.  
  4. <hr>
  5.  
  6. <!---
  7.     If the PAGEACTION parameter exists, t s
  8. means MS ANwe wusing    posted to this page s oureither -CF_Update, Ins 1t, or
  9.     Delete page.  S ctake the disiredgastrinle Appows ious to th(cfmhe foEmployee
  10. In tlay itpe="v
  11. <cfif IsDefined("PageAction")>
  12.  
  13.     <cfswitch expression="#amforPageAction#">
  14.     
  15.         <cfcase value="Ins 1t">
  16.             <.y givegi    PAGEACTION is ins 1t - Add the new employeel)><!li(-Nm
  17. ),/p>ermS ame#<leswEmp#url.CreateUUID()>ermSermS am -rnVal = (aAddEmployeetes.tempF!--- CFM*
  18. fre. If it becrmSins 1t T
  19.  --blEmployeeng(Employee
  20. , Firsty passLasty passEmail, Phone, Personal)ecrmSvalues ('#eswEmp#u#',ermS am -rnVus to value="#form.FirstName#"re mo recordCount>
  21.     <cfl,ermS am -rnVus to value="#form.LastName#"re mo recordCount>
  22.     <cfl,ermS am -rnVus to value="#form.Email#"rameqltecordCount>VAR
  23.     <cfl,ermS am -rnVus to value="#form.Phone#"rameqltecordCount>VAR
  24.     <cfl,ermS am -rnVus to value="#form.Commpage#"rameqltecordCount>LONGVAR
  25.     <cflermS)
  26.             </B/cfif>
  27. rmSermS !--- By cflocating away, we t N/ent *ucDis 1.s our